package com.jdyfy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jdyfy.dto.NoshowCountDTO;
import com.jdyfy.entity.Department;
import com.jdyfy.entity.Department;
import com.jdyfy.entity.DepartmentNoshow;

import java.util.List;


public interface DepartmentService extends IService<Department> {

    //根据企业名获取企业信息
    Department getByDepartName(String departmentName);

    //根据企业名集合获取企业信息集合
    List<Department> getDepartsByDepartNames(List<String> departmentNames);

    List<Department> getSuppler(String departmentName, String departmentNumber);

    boolean addOrUpdate(DepartmentNoshow departmentNoshow);

    List<NoshowCountDTO> getNoshowByDepartment(String departmentName);
}
